import AppKit

def isAppRunning(appID):
	runningApps = AppKit.NSWorkspace.sharedWorkspace().launchedApplications()
	for eachApp in runningApps:
		if eachApp["NSApplicationBundleIdentifier"] == appID:
			return True